package com.zds.mydatabinding.photoview;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.zds.mydatabinding.R;

import uk.co.senab.photoview.PhotoView;

public class PhotoviewActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_photoview);
        PhotoView photoView = (PhotoView) findViewById(R.id.photo_view);
        photoView.setImageResource(R.drawable.ic_photoview);
    }
}
